/*
 * BusinessDialogHolder.java
 * business
 *
 * Created by ChenTao on 2017/2/21.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.viewholder;

import android.view.View;
import android.widget.TextView;

import com.yidiandao.business.R;
import com.yidiandao.business.ui.widget.listview.ViewHolder;

/**
 * BusinessDialogHolder
 *
 * <p>Created by ChenTao(chentao7v@gmail.com) on 2017/2/21 18:16
 */
public class BusinessDialogHolder extends ViewHolder {

    private TextView tvContent;

    @Override
    protected void initView(View rootView) {
        tvContent = (TextView) rootView.findViewById(R.id.tv_content);
    }

    @Override
    protected int getItemLayoutId() {
        return R.layout.item_business_list;
    }

    public void refreshUI(String data) {
        tvContent.setText(data);
    }
}
